home *** CD-ROM | disk | FTP | other *** search
/ Developer Helper 1: Phil & Dave's Excellent CD / Excellent CD HFS.raw / HyperCard / HyperCard 1.2.2 International / HyperCard Danish (DK-1.2.2) / Idestakke / Baggrundsideer / background_16464.txt < prev    next >
Text File  |  1988-12-19  |  6KB  |  269 lines

  1. -- background: 16464 from stack: in
  2. -- bmap block id: 12712
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openStack
  8.   push recent card
  9.   show message box
  10. end openStack
  11.  
  12. on closeField
  13.   put the short date into field "Date"
  14. end closeField
  15.  
  16.  
  17. -- part 2 (field)
  18. -- low flags: 01
  19. -- high flags: 0000
  20. -- rect: left=103 top=64 right=192 bottom=432
  21. -- title width / last selected line: 0
  22. -- icon id / first selected line: 0 / 0
  23. -- text alignment: 0
  24. -- font id: 2
  25. -- text size: 14
  26. -- style flags: 0
  27. -- line height: 18
  28. -- part name: Navn og adresse
  29.  
  30.  
  31. -- part 3 (field)
  32. -- low flags: 00
  33. -- high flags: 0000
  34. -- rect: left=123 top=201 right=260 bottom=447
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 0 / 0
  37. -- text alignment: 0
  38. -- font id: 2
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: 
  43.  
  44.  
  45. -- part 4 (field)
  46. -- low flags: 00
  47. -- high flags: 0001
  48. -- rect: left=334 top=258 right=276 bottom=422
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 1
  52. -- font id: 3
  53. -- text size: 12
  54. -- style flags: 0
  55. -- line height: 16
  56. -- part name: Dato
  57.  
  58.  
  59. -- part 5 (button)
  60. -- low flags: 00
  61. -- high flags: 0000
  62. -- rect: left=417 top=250 right=275 bottom=448
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 1012 / 1012
  65. -- text alignment: 1
  66. -- font id: 0
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: Retur
  71. ----- HyperTalk script -----
  72. on mouseUp
  73.   visual effect iris close
  74.   pop card
  75. end mouseUp
  76.  
  77.  
  78.  
  79. -- part 6 (button)
  80. -- low flags: 00
  81. -- high flags: 0000
  82. -- rect: left=275 top=252 right=277 bottom=302
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 1013 / 1013
  85. -- text alignment: 1
  86. -- font id: 0
  87. -- text size: 12
  88. -- style flags: 0
  89. -- line height: 16
  90. -- part name: Next
  91. ----- HyperTalk script -----
  92. on mouseUp
  93.   visual effect wipe left
  94.   go to next card
  95. end mouseUp
  96.  
  97.  
  98.  
  99. -- part 7 (button)
  100. -- low flags: 00
  101. -- high flags: 0000
  102. -- rect: left=245 top=252 right=277 bottom=272
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 1014 / 1014
  105. -- text alignment: 1
  106. -- font id: 0
  107. -- text size: 12
  108. -- style flags: 0
  109. -- line height: 16
  110. -- part name: Prev
  111. ----- HyperTalk script -----
  112. on mouseUp
  113.   visual effect wipe right
  114.   go to previous card
  115. end mouseUp
  116.  
  117.  
  118.  
  119. -- part 9 (button)
  120. -- low flags: 00
  121. -- high flags: 0000
  122. -- rect: left=307 top=34 right=60 bottom=334
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: Opgaver
  131. ----- HyperTalk script -----
  132. on mouseUp
  133.   go to card "Opgaver1" of "Kalender"
  134. end mouseUp
  135.  
  136.  
  137.  
  138. -- part 10 (button)
  139. -- low flags: 00
  140. -- high flags: 0000
  141. -- rect: left=382 top=34 right=58 bottom=408
  142. -- title width / last selected line: 0
  143. -- icon id / first selected line: 0 / 0
  144. -- text alignment: 1
  145. -- font id: 0
  146. -- text size: 12
  147. -- style flags: 0
  148. -- line height: 16
  149. -- part name: Kalender
  150. ----- HyperTalk script -----
  151. on mouseUp
  152.   set lockscreen to true
  153.   go to "Kalender"
  154.   goSixMonthly the seconds
  155. end mouseUp
  156.  
  157.  
  158.  
  159. -- part 16 (button)
  160. -- low flags: 00
  161. -- high flags: 0000
  162. -- rect: left=343 top=34 right=59 bottom=371
  163. -- title width / last selected line: 0
  164. -- icon id / first selected line: 0 / 0
  165. -- text alignment: 1
  166. -- font id: 0
  167. -- text size: 12
  168. -- style flags: 0
  169. -- line height: 16
  170. -- part name: Kalender
  171. ----- HyperTalk script -----
  172. on mouseUp
  173.   set lockScreen to true
  174.   go to stack "Kalender"
  175.   goWeekly the seconds
  176. end mouseUp
  177.  
  178.  
  179.  
  180. -- part 23 (button)
  181. -- low flags: 00
  182. -- high flags: 0004
  183. -- rect: left=35 top=192 right=230 bottom=76
  184. -- title width / last selected line: 0
  185. -- icon id / first selected line: 32670 / 32670
  186. -- text alignment: 1
  187. -- font id: 0
  188. -- text size: 12
  189. -- style flags: 0
  190. -- line height: 16
  191. -- part name: 
  192. ----- HyperTalk script -----
  193. on mouseUp
  194.   show all cards
  195. end mouseUp
  196.  
  197.  
  198.  
  199. -- part 24 (button)
  200. -- low flags: 00
  201. -- high flags: 0000
  202. -- rect: left=95 top=193 right=224 bottom=124
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 30696 / 30696
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: 
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.   get the selection
  214.   if it is empty then get the message
  215.   if it is empty then ask "Ring til hvilket nummer?"
  216.   if it is not empty then
  217.     dial it
  218.   end if
  219. end mouseUp
  220.  
  221.  
  222.  
  223. -- part 27 (button)
  224. -- low flags: 00
  225. -- high flags: 0000
  226. -- rect: left=412 top=30 right=64 bottom=451
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 11045 / 11045
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: Hjem
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   visual effect iris close
  238.   go "Home"
  239. end mouseUp
  240.  
  241.  
  242.  
  243. -- part 30 (button)
  244. -- low flags: 00
  245. -- high flags: 0004
  246. -- rect: left=36 top=240 right=279 bottom=76
  247. -- title width / last selected line: 0
  248. -- icon id / first selected line: 20186 / 20186
  249. -- text alignment: 1
  250. -- font id: 0
  251. -- text size: 12
  252. -- style flags: 0
  253. -- line height: 16
  254. -- part name: 
  255. ----- HyperTalk script -----
  256. on mouseUp
  257.   if the name of this stack contains "Baggrundsideer"
  258.   then
  259.   show card field 1  -- explain why not sort here
  260. else
  261.   answer "Sort√©r alle kortene i denne stak efter:" with "Fornavn" or "Efternavn" or "Annuller"
  262.   if it is "Fornavn"
  263.   then sort by first word of first line of field "Navn og adresse"
  264. else if it is "Efternavn"
  265. then sort by last word of first line of field "Navn og adresse"
  266. end if
  267. end mouseUp
  268.  
  269.